<template>
    <div class="bigListDetail">

        <div class="navContent">
            <div class="backcontent" @click="handleBack">
                <i class="el-icon-back"></i>
                <div>返回</div>
            </div>

            <div class="title">
                大题详情
            </div>
        </div>

        <div class="tabsContent">
            <div class="tabsitem" :class="{ tabsitemed: tabsCurrindex == 0 }" @click="handleChangetabsCurrindex(0)">
                <div>
                    按大题查看
                </div>
                <div v-if="tabsCurrindex == 0" class="heng"></div>
            </div>

            <div class="tabsitem" :class="{ tabsitemed: tabsCurrindex == 1 }" @click="handleChangetabsCurrindex(1)">
                <div>
                    按学生查看
                </div>
                <div v-if="tabsCurrindex == 1" class="heng"></div>
            </div>
        </div>

        <div class="titleContent">
            <img class="titleimg" src="@/static/image/tx.png" alt="" srcset="">
            <div class="name">
                单词跟读
            </div>
            <div class="desc">
                提分 1AUnit 9
            </div>
        </div>

        <div v-if="tabsCurrindex == 0">

            按大题查看

        </div>

        <div v-if="tabsCurrindex == 1">

            按学生查看

        </div>







    </div>
</template>
<script>
export default {
    data() {
        return {
            tabsCurrindex: 0,
        }
    },
    methods: {
        handleChangetabsCurrindex(index) {
            this.tabsCurrindex = index
        },
        handleBack() {
            this.$router.go(-1)
        },
    }
}
</script>
<style scoped lang="scss">
.bigListDetail {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;

    .navContent {
        display: flex;
        align-items: center;
        font-family: Alibaba PuHuiTi, Alibaba PuHuiTi;
        font-weight: 400;
        font-size: 14px;
        color: #777777;
        line-height: 16px;

        .backcontent {
            display: flex;
            align-items: center;
            cursor: pointer;

        }

        .title {
            margin-left: 30px;
        }
    }

    .tabsContent {
        width: 100%;
        height: 60px;
        background: #FFFFFF;
        border-radius: 4px 4px 4px 4px;
        margin-top: 16px;
        display: flex;
        align-items: center;
        padding: 0 16px;
        box-sizing: border-box;
        font-family: PingFang SC, PingFang SC;
        font-weight: 400;
        font-size: 16px;
        color: #535D6D;
        line-height: 19px;

        .tabsitem {
            margin-right: 28px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;

            .heng {
                width: 24px;
                height: 2px;
                background: #4BA840;
                border-radius: 8px 8px 8px 8px;
                margin-top: 8px;
            }
        }

        .tabsitemed {
            color: #4BA840;
        }
    }

    .titleContent {
        display: flex;
        align-items: center;
        margin-top: 22px;

        .titleimg {
            width: 24px;
            height: 24px;
        }

        .name {
            font-family: PingFang SC, PingFang SC;
            font-weight: 550;
            font-size: 14px;
            color: #333333;
            line-height: 16px;
            margin: 0 10px;
        }

        .desc {
            font-family: PingFang SC, PingFang SC;
            font-weight: 400;
            font-size: 12px;
            color: #333333;
            line-height: 14px;
        }
    }

}
</style>